import {Injectable} from '@angular/core';
import {HttpService} from '../../../http/http.service';

// 模型
// import { QueryPageResult } from '../../models';
// import { List, ListConfig } from './list';

@Injectable()
export class DataexpendService {
    constructor(private httpService: HttpService) {
    }

    // 查询数剧
    queryListPage(Page: number, PageSize: number, PkgType: string): Promise<any> {
        console.log(Page);
        console.log(PageSize);

        const url = '/packet/page';
        return this.httpService.get<any>(url, {Page: Page, PageSize: PageSize, PkgType: PkgType});
    }

    // tslint:disable-next-line:eofline
}